
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<ui:composition template="template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets">

    <ui:define name="menuDireito">
        <h:body>
            <div class="floatRight width73">
                <h1>Cadastrar Licenca Prêmio</h1>
                <h2>Informações:</h2>
                <hr></hr>
                <h:form>
                    <p>
                        <f:view>
                            Professor
                            <h:panelGrid columns="1" cellpadding="2 ">
                                <p:autoComplete value="#{licencaPremio.nome}" id="basicPojo" completeMethod="#{autoCompleteBean.completePlayer}"
                                                converter="professorConverter" size="75" forceSelection="true"/>
                            </h:panelGrid>
                        </f:view></p><br></br>
                    <p>Periodo de afastamento:<br></br>
                        <p:inputText rendered="true" value="#{licencaPremio.perido_afastamento}"></p:inputText>
                    </p>
                    <br></br><br></br>
                    <div style="text-align: center">
                        <h:commandButton value="Salvar" action="#{licencaPremio.envia}"></h:commandButton>
                        &nbsp;
                        <h:commandButton value="Pré-visualizar" action="previsualizarCadastroLicencaPremio"></h:commandButton>
                    </div>
                </h:form>

            </div>
            <!-- </form>  -->
        </h:body>
    </ui:define>
</ui:composition>
